JavaScript Debugger Modules > What is a JavaScript Debugger Module? > reportError() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Called when a syntax error is detected. The errors and warnings are not necessarily reported in order.
Arguments
fileName
, errorNumber
, strDesc
, lineNumber
, offset
![]() |
fileName is the name of the file. |
![]() |
errorNumber is the numeric identifier of the error that occurred. |
![]() |
strDesc is the description of the error. |
![]() |
lineNumber is the line number in which the error occurred, relative to the start of the block. |
![]() |
offset is the offset of the character at which the error occurred, relative to the start of the block. |
Returns
Nothing.
![]() ![]() ![]() |